import http from "@/utils/http";

export const getUserApi = (params?: object) =>
  http.get("/admin/user/list", params);

export const getAdminApi = (params?: object) =>
  http.get("/admin/admin/list", params);

export const removeAdminApi = (data?: object) =>
  http.post("/admin/admin/delete", data);

export const addAdminApi = (data?: object) =>
  http.post("/admin/admin/add", data);
